package com.adgox.tiantianbiting.utils;

import android.os.Build;

import com.adgox.tiantianbiting.BuildConfig;

/**
 * Created by tang on 2018/12/25.
 */

public final class ApiConstant {
    //正式
    public static final String BASE_URL = "https://blistening.cn/";

    //测试
//    public static final String BASE_URL = "https://www.blistening.cn/";
//    public static final String BASE_URL = "http://192.168.1.194:8083/";
//    public static final String SOURCE_URL = "http://source.blistening.cn/bt_source/ttbt/";
//    public static final String BASE_URL = "http://192.168.1.244:8082/gox-ttbt/";

    public static final String WX_APP_ID = "wx333f3eb9df829ae3";

    /**
     * 首页信息
     */
    public static final String HOME = "index";

    /**
     * 获取首页顶部banner信息
     */
//    public static final String TOP_BANNER = "programResource/bannerList";

    /**
     * 获取首页导航栏信息
     */
    public static final String MID_TAB = "navigationCircle/findNavigationCircleList";

    /**
     * 获取首页中部banner信息
     */
    public static final String GET_MID_BANNER = "";


    /**
     * 获取首页栏目内容
     */
    public static final String GET_PROGRAM = "programResource/AllCategoryProgram";

    /**
     * 获取指定类别下的栏目内容(包括热门，热门编号是41)
     */
    public static final String GET_PROGRAM_BY_CATEGOTY = "programResource/program/";

    /**
     * 获取栏目页banner
     */
    public static final String GET_CATEGORY_BANNER = "programResource/commonBannerList";

    /**
     * 获取节目页详情
     */
    public static final String GET_PROGRAM_INFO = "programResource/programDetail/";

    /**
     * 获取节目选集详情
     */
    public static final String GET_PROGRAM_CHOOSE_INFO = "programResource/seasons/";

    /**
     * 获取十章的总价格
     */
    public static final String GET_NEXT_10_COST = "programResource/count10Season";

    /**
     * 获取充值比例
     */
    public static final String GET_RECHARGE_INFO = "orderResource/exchangeRate";

    /**
     * 获取交易记录和奖励金记录
     */
    public static final String GET_RECORD = "orderResource/pkgRecord/";

    /**
     * 获取历史和收藏
     */
    public static final String GET_HISTORY_AND_COLLECT = "programResource/status4Mark/";

    /**
     * 根据用户id获取用户信息
     */
    public static final String GET_USERINFO = "userResource/userDetailInfo";

    /**
     * 分集购买
     */
    public static final String BUY_EVERY_SEASON = "orderResource/walletRecordEvery";

    /**
     * 获取验证码
     */
    public static final String GET_VERTIFY_CODE = "userResource/verCode/";

    /**
     * 检验验证码
     */
    public static final String CHECK_VERTIFY_CODE = "userResource/checkVerCode";

    /**
     * 微信充值
     */
    public static final String WX_PAY = "app/wx/order";

    /**
     * 搜索
     */
    public static final String SEARCH = "programResource/search";

    /**
     * 获取用户余额
     */
    public static final String GET_BALANCE = "orderResource/walletBalance/";

    /**
     * 检测更新
     */
    public static final String CHECK_UPDATE = "app/validate/";

    /**
     * 收集imei
     */
    public static final String SEND_IMEI = "app/save/device";

    /**
     * 添加收藏、历史
     */
    public static final String ADD_COLLECT_AND_HISTORY = "programResource/mark";

    /**
     * 取消收藏
     */
    public static final String CANCEL_COLLECT = "programResource/delHistoryMark";

    /**
     * 全集购买
     */
    public static final String BUY_ALL = "orderResource/walletRecord";

    /**
     * 分集购买
     */
    public static final String BUY_EVERY = "orderResource/walletRecordEvery";

    /**
     * 反馈
     */
    public static final String FEEDBACK = "feekbackResource/feekback";

    /**
     * 获取收入排行榜
     */
    public static final String RANKING_INCOME = "distributionActivity/distribution/findIncomeRanking";

    /**
     * 获取收听排行榜
     */
    public static final String RANKING_LISTEN = "hd/allListenRank";

    /**
     * 记录用户登录时间
     */
    public static final String LOGIN_RECORD = "userResource/operationRecord";

    /**
     * 上传极光id
     */
    public static final String POST_JPUSH_ID = "JPushResource/updateJPushId";

    /**
     * 提现
     */
    public static final String WITHDRAW = "orderResource/withdraw/";

    /**
     * 获取签到列表数据
     */
    public static final String GET_SIGN_LIST = "activityResource/signInList";

    /**
     * 检测当天是否已经签到了
     */
    public static final String CHECK_TODAY_SIGN = "activityResource/currentDaySignIn";

    /**
     * 签到
     */
    public static final String SIGN = "activityResource/signInRecord";

    /**
     * 获取是否有随机红包
     */
    public static final String RANDOM_RED_PACKET = "hd/listen/classify/random";

    /**
     * 领取随机红包
     */
    public static final String GET_RANDOM_RED_PACKET = "/hd/listen/classify/random/savetb";

    /**
     * 可分享获取的节目列表
     */
    public static final String SHARE_FOR_FREE_PROGRAM_LIST = "programResource/programShare";

    /**
     * 我的分享记录
     */
    public static final String MY_SHARE_LIST = "programResource/myProgramShare/";

    /**
     * 分享详情信息获取
     */
    public static final String GET_SHARE_DETAIL = "programResource/shareProgramDetail/";

    /**
     * 获取福利页面组件列表
     */
    public static final String GET_WELFARE_ITEM = "trueOrFalseResource/welfareItem";

    /**
     * 获取推荐栏目
     */
    public static final String GET_RECOMMEND = "programResource/record/recommendProgram";

    /**
     * 用户消息
     */
    public static final String MY_MESSAGE_LIST = "userResource/pushMsgList";
    /**
     * 用户消息未读数量
     */
    public static final String MY_MESSAGE_UNREAD_LIST = "userResource/msgRecord";

    /**
     * 记录分享记录
     */
    public static final String ADD_SHARE_RECORD = "programResource/myProgramShare";

    /**
     * 找相似
     */
    public static final String FIND_LIKE = "programResource/program/conform";

    /**
     * 收藏置顶
     */
    public static final String SET_TOP = "programResource/topMark";

    /**
     * 获取已购记录（type = 2）
     */
    public static final String GET_BUY_RECORD = "orderResource/myBuyRecord";

    /**
     * 获取评论
     */
    public static final String GET_COMMET = "programResource/program/discuss";

    /**
     * 获取一级评论
     */
    public static final String GET_SUB_COMMENT = "programResource/program/discussDiscussLevel1";

    /**
     * 用户评论
     */
    public static final String ADD_COMMENT = "userResource/discussProgram";

    /**
     * 获取分享链接
     */
    public static final String GET_SHARE_URL = "resourcesResource/resources";

    /**
     * 获取客服二维码
     */
    public static final String GET_CUSTOMER_SERVICE_QR = "resourcesResource/payWaiterWXPic";
}

